| Total Complexity | 44 |
| Dependencies | 0 |
| Dependents | 0 |
| Total lines | 231 |
| Lines of code | 116 |
| Logical lines of code | 74 |
| Comment lines | 73 |
| Methods | 10 |
| Properties | 1 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| calculate_discounted_price() | 55 | 9 | 21 | |
| add_product_to_cart() | 52 | 7 | 21 | |
| remove_coupon_products() | 61 | 6 | 12 | |
| process_coupon_products() | 62 | 5 | 10 | |
| apply_custom_price() | 63 | 5 | 10 | |
| disable_quantity_changes() | 61 | 3 | 13 | |
| set_quantity_input_args() | 65 | 3 | 9 | |
| disable_block_quantity_editing() | 70 | 3 | 6 | |
| get_instance() | 72 | 2 | 6 | |
| __construct() | 65 | 1 | 8 |